package com.ruoyi.crm.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.crm.domain.CrmOrderPayDetails;

/**
 * 付款计划详情Service接口
 *
 * @author ruoyi
 * @date 2024-11-27
 */
public interface ICrmOrderPayDetailsService extends IService<CrmOrderPayDetails>
{
    /**
     * 查询付款计划详情
     *
     * @param payDetailsId 付款计划详情主键
     * @return 付款计划详情
     */
    public CrmOrderPayDetails selectCrmOrderPayDetailsByPayDetailsId(String payDetailsId);

    /**
     * 查询付款计划详情列表
     *
     * @param crmOrderPayDetails 付款计划详情
     * @return 付款计划详情集合
     */
    public List<CrmOrderPayDetails> selectCrmOrderPayDetailsList(CrmOrderPayDetails crmOrderPayDetails);

    /**
     * 新增付款计划详情
     *
     * @param crmOrderPayDetails 付款计划详情
     * @return 结果
     */
    public int insertCrmOrderPayDetails(CrmOrderPayDetails crmOrderPayDetails);

    /**
     * 修改付款计划详情
     *
     * @param crmOrderPayDetails 付款计划详情
     * @return 结果
     */
    public int updateCrmOrderPayDetails(CrmOrderPayDetails crmOrderPayDetails);

    /**
     * 批量删除付款计划详情
     *
     * @param payDetailsIds 需要删除的付款计划详情主键集合
     * @return 结果
     */
    public int deleteCrmOrderPayDetailsByPayDetailsIds(String[] payDetailsIds);

    /**
     * 删除付款计划详情信息
     *
     * @param payDetailsId 付款计划详情主键
     * @return 结果
     */
    public int deleteCrmOrderPayDetailsByPayDetailsId(String payDetailsId);
}
